package org.example.leetcode.common.utils;

public class TitleUtils {
    public static String getValidTitle(String title){
        StringBuilder stringBuilder = new StringBuilder();
        for(char c:title.toCharArray()){
            if((c>='a'&&c<='z')||(c>='A'&&c<='Z')||(c>='0'&&c<='9')){
                stringBuilder.append(c);
            }
        }
        return stringBuilder.toString();
    }
}
